Cisco Packet Tracer Extensions API 8.1.0
API for communication between Cisco Packet Tracer application and its extension applications and modules.
Public Member Functions | List of all members
L2NatInstance Class Reference

Public Member Functions

string getInstanceName ()
 Returns the instance name. More...
 
void setInstanceName (string)
 Sets the instance name to the given name. More...
 
int getInstanceId ()
 Returns the instance ID. More...
 
L2NatTable getNatTable ()
 Returns the nat table. More...
 
int getStatementsCount ()
 Returns the statement count. More...
 

Member Function Documentation

◆ getInstanceId()

int L2NatInstance::getInstanceId ( )

Returns the instance ID.

Returns
int, value is the instance ID.

◆ getInstanceName()

string L2NatInstance::getInstanceName ( )

Returns the instance name.

Returns
string, value is the instance name.

◆ getNatTable()

L2NatTable L2NatInstance::getNatTable ( )

Returns the nat table.

Returns
L2NatTable, value is the nat table.

◆ getStatementsCount()

int L2NatInstance::getStatementsCount ( )

Returns the statement count.

Returns
int, value is the statement count.

◆ setInstanceName()

void L2NatInstance::setInstanceName ( string  )

Sets the instance name to the given name.

Parameters
instanceName,thename to use for the instance.

The documentation for this class was generated from the following file: